class CreateAddresses < ActiveRecord::Migration[5.2]
  def change
    create_table :addresses do |t|
      t.string    :phone
      t.string    :sendee
      t.string    :address
      t.integer   :user_id
      t.boolean   :is_default, default: false
      t.integer :province_id
      t.integer :city_id
      t.integer :district_id

      t.timestamps
    end
  end
end
